/*! calendar-pirce-jquery v1.0.4 | (c) Capricorncd | https://github.com/capricorncd/calendar-pirce-jquery */.clearfix:after {
    content: '';
    display: block;
    overflow: hidden;
    visibility: hidden;
    font-size: 0;
    line-height: 0;
    width: 0;
    height: 0;
    clear: both
}

.capricorncd-calendar-container {
    margin: 0 auto;
    width: 100%;
    color: #333;
    font-size: 1em;
    background-color: #fff;
}

.capricorncd-calendar-container .calendar-head-wrapper {
    position: relative;
    height: 48px;
    background-color: #fff;
}

.capricorncd-calendar-container .calendar-head-wrapper .calendar-month-title {
    text-align: center;
    font-size: 1em;
    line-height: 48px;
    color: #fff
}

.capricorncd-calendar-container .calendar-head-wrapper a {
    display: block;
    position: absolute;
    top: 0;
    z-index: 1;
    width: 30px;
    height: 30px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    overflow: hidden;
    background: url() no-repeat center center;
    background-size: cover;
    text-align: center;
    cursor: pointer;
}


.capricorncd-calendar-container .calendar-head-wrapper a:hover {
    opacity: .8
}

.capricorncd-calendar-container .calendar-head-wrapper a.prev-month {
    left: 0;
    transform: rotate(180deg)
}

.capricorncd-calendar-container .calendar-head-wrapper a.next-month {
    right: 0
}

.capricorncd-calendar-container .calendar-table-wrapper table {
    width: 100%;
    border: none;
}

.capricorncd-calendar-container .calendar-table-wrapper table .week {
    background-color: rgba(9,140,194,0.6);
    color: #fff;
}

.capricorncd-calendar-container .calendar-table-wrapper table .week th {
    width: 14.2%;
    line-height: 28px;
    text-align: center;
    font-weight: 100
}

.capricorncd-calendar-container .calendar-table-wrapper table td {
    position: relative;
    vertical-align: top;
    height: 40px;
    text-align: center;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
}

.capricorncd-calendar-container .calendar-table-wrapper table td:last-child {
    border-right: 0
}

.capricorncd-calendar-container .calendar-table-wrapper table td.disabled {
    color: #ccc
}

.capricorncd-calendar-container .calendar-table-wrapper table td b {
    display: block;
    text-align: center;
    line-height: 1.5
}

.capricorncd-calendar-container .calendar-table-wrapper table td div {
    font-size: 14px;
    color: #e4a766;
}

.capricorncd-calendar-container .calendar-table-wrapper table td.valid-hook.active {
    background-color: #e4a766;
}

.capricorncd-calendar-container .calendar-table-wrapper table td.valid-hook.active b,
.capricorncd-calendar-container .calendar-table-wrapper table td.valid-hook.active p {
    color: #fff;
}

.capricorncd-calendar-container .calendar-table-wrapper table td div p {
    margin: 4px 0;
    padding: 0
}

.capricorncd-calendar-container .calendar-table-wrapper table td.valid-hook:hover {
    background-color: #4381e6;
}

.capricorncd-calendar-container .calendar-table-wrapper table td.valid-hook:hover b,.capricorncd-calendar-container .calendar-table-wrapper table td.valid-hook:hover p {
    color: #fff
}

.capricorncd-calendar-container .calendar-foot-wrapper,.capricorncd-date-detailed-settings .cddsw-foot-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 60px;
}

.capricorncd-calendar-container .calendar-foot-wrapper button,.capricorncd-date-detailed-settings .cddsw-foot-wrapper button {
    display: inline-block;
    margin-right: 10px;
    width: 60px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    border: 0;
    background: none;
    outline: none;
    color: #fff;
}

.capricorncd-calendar-container .calendar-foot-wrapper button:last-child,.capricorncd-date-detailed-settings .cddsw-foot-wrapper button:last-child {
    margin-right: 20px
}

.capricorncd-calendar-container .calendar-foot-wrapper button.btn-reset,.capricorncd-date-detailed-settings .cddsw-foot-wrapper button.btn-reset {
    background-color: rgba(85,181,38,0.8);
    border: 1px solid rgba(85,181,38,0.8);
}

.capricorncd-calendar-container .calendar-foot-wrapper button.btn-reset:hover,.capricorncd-date-detailed-settings .cddsw-foot-wrapper button.btn-reset:hover {
    background-color: #55b526;
    border-color: #55b526
}

.capricorncd-calendar-container .calendar-foot-wrapper button.btn-confirm,.capricorncd-date-detailed-settings .cddsw-foot-wrapper button.btn-confirm {
    background-color: #4381e6;
    border: 1px solid #4381e6;
}

.capricorncd-calendar-container .calendar-foot-wrapper button.btn-confirm:hover,.capricorncd-date-detailed-settings .cddsw-foot-wrapper button.btn-confirm:hover {
    background-color: #00649a;
    border-color: #00649a
}

.capricorncd-calendar-container .calendar-foot-wrapper button.btn-cancel,.capricorncd-date-detailed-settings .cddsw-foot-wrapper button.btn-cancel {
    background-color: #fff;
    color: #999;
    border: 1px solid #ccc;
}

.capricorncd-calendar-container .calendar-foot-wrapper button.btn-cancel:hover,.capricorncd-date-detailed-settings .cddsw-foot-wrapper button.btn-cancel:hover {
    color: #666;
    border-color: #bbb
}

.capricorncd-date-detailed-settings .cddsw-foot-wrapper .btn-confirm {
    width: 100px
}

.capricorncd-date-detailed-settings {
    display: flex;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.3);
}

.capricorncd-date-detailed-settings .cddsw-container {
    width: 640px;
    position: relative;
    background-color: #fff;
    font-size: 14px;
}

.capricorncd-date-detailed-settings .cddsw-container * {
    margin: 0;
    padding: 0
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-head-wrapper {
    height: 46px;
    line-height: 46px;
    position: relative;
    background: #4381e6;
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-head-wrapper .cddsw-title {
    color: #fff;
    margin-left: 20px;
    font-weight: 500
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-head-wrapper .cddsw-close {
    display: block;
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0;
    width: 46px;
    height: 46px;
    text-align: center;
    cursor: pointer;
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-head-wrapper .cddsw-close i {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-top: 11px;
    background: url("") no-repeat 0 0;
    opacity: .6
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-head-wrapper .cddsw-close:hover i {
    opacity: 1
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-form-wrapper {
    padding-top: 20px;
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-form-wrapper li {
    display: flex;
    position: relative;
    float: left;
    height: 31px;
    line-height: 31px;
    width: 49.9%;
    list-style: none;
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-form-wrapper li label {
    flex: 0 0 80px;
    margin: 0 10px 0 20px;
    text-align-last: justify
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-form-wrapper li input {
    flex: 1;
    margin-right: 20px;
    padding: 0 4px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #ddd;
    background: #fff
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-batch-settings {
    border-top: 1px solid #ddd;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-batch-settings .bs-title {
    margin-left: 15px;
    padding: 0 5px;
    height: 46px;
    line-height: 46px;
    font-size: 14px
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-batch-settings .bs-content {
    display: flex;
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-batch-settings .bs-content .bs-lable {
    flex: 0 0 80px;
    text-align-last: justify;
    margin-left: 20px;
    margin-right: 10px;
    height: 32px;
    line-height: 32px
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-batch-settings .bs-content .bs-options-wrapper {
    flex: 1;
    flex-wrap: wrap;
    height: 32px;
    line-height: 32px;
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-batch-settings .bs-content .bs-options-wrapper .drw-enable {
    margin-left: 10px
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-batch-settings .bs-content .bs-options-wrapper .itext {
    padding: 0 4px;
    width: 179px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #ddd;
    background: #fff
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-batch-settings .bs-week-chekbox {
    display: flex;
    margin-top: 15px;
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-batch-settings .bs-week-chekbox .bs-options-wrapper {
    display: flex;
}

.capricorncd-date-detailed-settings .cddsw-container .cddsw-batch-settings .bs-week-chekbox .bs-options-wrapper label {
    flex: 1
}

@media only screen and (max-width:640px) {
    .capricorncd-date-detailed-settings {
        display: block;
        position: absolute;
    }

    .capricorncd-date-detailed-settings .cddsw-container {
        width: 100%;
    }

    .capricorncd-date-detailed-settings .cddsw-container .cddsw-form-wrapper li {
        width: 100%
    }

    .capricorncd-date-detailed-settings .cddsw-container .cddsw-batch-settings .bs-content {
        display: block;
    }

    .capricorncd-date-detailed-settings .cddsw-container .cddsw-batch-settings .bs-content .bs-options-wrapper {
        margin-left: 20px;
        height: auto;
    }

    .capricorncd-date-detailed-settings .cddsw-container .cddsw-batch-settings .bs-content .bs-options-wrapper .itext {
        width: 80px
    }

    .capricorncd-date-detailed-settings .cddsw-container .cddsw-batch-settings .bs-content .bs-options-wrapper label {
        flex: 0 0 25%
    }
}